package com.blandware.atleap.webapp.form.core;

import javax.servlet.http.HttpServletRequest;
import com.blandware.atleap.webapp.form.BaseForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMessage;
import org.apache.struts.upload.FormFile;
import org.apache.struts.upload.MultipartRequestHandler;
import java.util.Map;
import java.util.HashMap;

/**
 * @struts.form name="sequenceItemForm" 
 */
public  class SequenceItemForm
    extends    BaseForm
    implements java.io.Serializable
{

    protected String id;

    protected String sequenceId;

    protected String objectIdentifier;

    protected String pageId;

    protected String contentResourceId;

    protected String version;

    /** Default empty constructor. */
    public SequenceItemForm() {}

    public String getId()
    {
        return this.id;
    }

   /**
    */
    public void setId(String id)
    {
        this.id = id;
    }

    public String getSequenceId()
    {
        return this.sequenceId;
    }

   /**
    */
    public void setSequenceId(String sequenceId)
    {
        this.sequenceId = sequenceId;
    }

    public String getObjectIdentifier()
    {
        return this.objectIdentifier;
    }

   /**
    * @struts.validator type="required"
    * @struts.validator-args arg0resource="core.sequenceItem.form.object"
    */
    public void setObjectIdentifier(String objectIdentifier)
    {
        this.objectIdentifier = objectIdentifier;
    }

    public String getPageId()
    {
        return this.pageId;
    }

   /**
    */
    public void setPageId(String pageId)
    {
        this.pageId = pageId;
    }

    public String getContentResourceId()
    {
        return this.contentResourceId;
    }

   /**
    */
    public void setContentResourceId(String contentResourceId)
    {
        this.contentResourceId = contentResourceId;
    }

    public String getVersion()
    {
        return this.version;
    }

   /**
    */
    public void setVersion(String version)
    {
        this.version = version;
    }

    /**
     * @see org.apache.struts.action.ActionForm#reset(org.apache.struts.action.ActionMapping,
     *                                                javax.servlet.http.HttpServletRequest)
     */
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        // reset any boolean data types to false

        // reset all linking properties to null

        this.sequenceId = null;

        this.pageId = null;

        this.contentResourceId = null;

// reset all mapped properties to default values

    }

}
